/* ******************************************************************
 * This file is part of the escal project and distributed under the
 * terms of the GNU General Public License Version 3
 * Copyright (C) 2008 Epocher (xijiaosdq@gmail.com)
 * See COPYING file for licensing information.
 *******************************************************************/

#include "link_manager.h"
#include "task.h"
#include "log_manager.h"
#include "escal.h"
#include <QTextStream>

using namespace Escal;
BaseLinkManager::BaseLinkManager(QObject *parent)
	:QThread(parent)
{
	textDocument = new QTextDocument(this);
	textCursor = new QTextCursor(textDocument);
	connect(this, SIGNAL(writeLog(QTextCursor*, QString, QString)),
		logManager, 
		SLOT(writeLogDocument(QTextCursor*, QString, QString)));
};

